package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    //保存
    void saveWithDish(SetmealDto setmealDto);
    //删除
    void removeWithDish(List<Long> ids);
    //起售或禁售
    void updateSetmealStatusById(Integer status, List<Long> ids);
    //根据id查询
    SetmealDto getByIdWith(Long id);

}
